<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/logo.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后台管理系统</title>
  </head>
  <body>
    <div id="app">
      <!-- 白屏效果 -->
      <style>
        html,
        body,
        #root,
        #app {
          height: 100%;
          margin: 0;
          padding: 0;
        }

        .page-loading-main {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          height: 100%;
          min-height: 362px;
        }

        .loading-sub-title {
          margin-top: 20px;
          font-size: 14px;
          color: #888;
        }

        .page-loading-warp {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 26px;
        }

        .page-loading-spin {
          position: static;
          display: inline-block;
        }

        .page-loading-spin-dot {
          position: relative;
          display: inline-block;
          width: 32px;
          height: 32px;
          font-size: 32px;
          -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
          -webkit-animation: loadingRotateFrame 0.35s infinite linear;
          animation: loadingRotateFrame 0.35s infinite linear;
        }

        .page-loading-spin-dot-item {
          position: absolute;
          display: block;
          width: 12px;
          height: 12px;
          background-color: #1890ff;
          border-radius: 100%;
          opacity: 0.4;
        }

        .page-loading-spin-dot-item:nth-child(1) {
          top: 0;
          left: 0;
        }

        .page-loading-spin-dot-item:nth-child(2) {
          top: 0;
          right: 0;
          opacity: 0.6;
        }

        .page-loading-spin-dot-item:nth-child(3) {
          right: 0;
          bottom: 0;
          opacity: 0.8;
        }

        .page-loading-spin-dot-item:nth-child(4) {
          bottom: 0;
          left: 0;
          opacity: 1;
        }

        @-webkit-keyframes loadingRotateFrame {
          to {
            -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
          }
        }

        @keyframes loadingRotateFrame {
          to {
            -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
          }
        }
      </style>

      <div class="page-loading-main">
        <div class="page-loading-warp">
          <div class="page-loading-spin ant-spin ant-spin-lg ant-spin-spinning">
            <span class="page-loading-spin-dot ant-spin-dot ant-spin-dot-spin">
              <i class="page-loading-spin-dot-item"></i>
              <i class="page-loading-spin-dot-item"></i>
              <i class="page-loading-spin-dot-item"></i>
              <i class="page-loading-spin-dot-item"></i>
            </span>
          </div>
        </div>
        <div class="loading-title">正在加载资源</div>
        <div class="loading-sub-title">
          初次加载资源可能需要较多时间 请耐心等待
        </div>
      </div>
    </div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
